﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false"  CodeFile="TrainingView.aspx.cs" Inherits="main_sales_TrainingView" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>培训计划管理</title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../css/base.css" rel="stylesheet" type="text/css" />

    <script src="../../js/base.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/singleeditpoint.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/validator.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/comm.js" type="text/javascript" charset="utf-8"></script>
    
    <script src="../../js/common.js" type="text/javascript" charset="utf-8"></script>
       <script type="text/javascript" src="../../Web_ckeditor_html/ckeditor.js"></script>
    <script type="text/javascript" src="../../Web_ckfinder_html/ckfinder.js"></script>

    <script type="text/javascript">

        function tomodifySave() {
            return false;
                //清除空格	
                TrimAllitems();       
                ClearErrMsg();
                var thisForm = document.forms[0];
 　
                if (Validator.Validate(thisForm, 3)) {
                    var val = document.getElementById("txt_MEMO").value;
                    var start_date = document.getElementById("txt_START_DATE").value;
                    var end_date = document.getElementById("txt_END_DATE").value;
//                    if (chkDate(start_date)) {
//                        alert("开始时间要大于当前时间");
//                        return false;     
//                    }
                    if (CompareDate(start_date, end_date)==1) {
                        alert("结束日期不能大于开始日期");
                        return false;                    
                    }
                    if (val.length > 30000) {
                        alert("培训内容长度不能大于30000");
                        return false;
                    }
                    return true;
                }
                return false;
			}
    </script> 
    
</head>
<body>
<form name="form1" method="post" id="form1" runat="server">
<div class="conter_right">
<div class="sfkr"><span>当前位置：</span>培训计划管理</div>
     <fieldset class="dsadq"><legend style="color:#434449"><span id="page_title" runat="server">培训计划管理</span></legend>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="msels">
     <tr>     
      <td width="16%" align="right" valign="middle">
      <asp:Label ID="lbl_TEACHER__NAME" runat="server" Text="培训讲师"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle" colspan="3">
         <asp:Label ID="lbl_T_TEACHER__NAME" runat="server" Text=""></asp:Label> 
         <asp:Label ID="err_TEACHER__NAME" runat="server"></asp:Label>
          </td>　
     </tr>
	  
         
	<tr>     
		<td width="16%" align="right" valign="middle">
			<asp:Label ID="lbl_START_DATE" runat="server" Text="培训开始时间"></asp:Label>：
		</td>
		<td width="34%" align="left" valign="middle" >
		  <asp:Label ID="lbl_T_START_DATE" runat="server" Text=""></asp:Label>  
			<asp:Label ID="err_START_DATE" runat="server"></asp:Label>
		</td>
				<td width="16%" align="right" valign="middle">
			<asp:Label ID="lbl_END_DATE" runat="server" Text="培训结束时间"></asp:Label>：
		</td>
		<td width="34%" align="left" valign="middle" > 
			<asp:Label ID="lbl_T_END_DATE" runat="server"></asp:Label>
		</td>   
	</tr>
	
	<tr>
                    <td align="right" valign="middle">
                        <asp:Label ID="lbl_ADDRESS" runat="server" Text="培训地点："></asp:Label>
                    </td>
                    <td align="left" valign="middle">                       
                        <asp:Label ID="lbl_T_ADDRESS" runat="server"></asp:Label>
                    </td>
                    <td align="right" valign="middle">
                        <asp:Label ID="lbl_TYPE" runat="server" Text="培训类型："></asp:Label>
                    </td>
                    <td align="left" valign="middle">                        
                        <asp:Label ID="lbl_T_TYPE" runat="server"></asp:Label>
                    </td>
                </tr>
    
      <tr id="tr_AREA_ID" runat="server">
                   <td align="right" valign="middle">
                         <asp:Label ID="lbl_AREA_ID__AREA_NAME" runat="server" Text="所属区域："></asp:Label>
                    </td>
                    <td align="left" valign="middle" colspan="3">                      
                        <asp:Label ID="lbl_T_AREA_ID__AREA_NAME" runat="server"></asp:Label>
                    </td>                    
      </tr>
     <tr>     
      <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_MEMO" runat="server" Text="培训目的"></asp:Label>：</td>
        <td width="84%" align="left" valign="middle" colspan="3" >
             
                <asp:Label ID="lbl_T_MEMO" runat="server"></asp:Label></td>
     
     </tr>          
      <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_RESOURCES" runat="server" Text="资源申请"></asp:Label>：</td>
        <td width="84%" align="left" valign="middle" colspan="3" > 
                <asp:Label ID="lbl_T_RESOURCES" runat="server"></asp:Label></td>
     
     </tr>
     <tr id="tr_report"  runat="server">     
      <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_REPORT" runat="server" Text="培训报告"></asp:Label>：</td>
        <td width="84%" align="left" valign="middle" colspan="3" >
            
                <asp:Label ID="lbl_T_REPORT" runat="server"></asp:Label></td>
     
     </tr>
      <tr id="tr_status"  runat="server">
                  <td align="right" valign="middle">
                        <asp:Label ID="lbl_TRAINING_STATUS" runat="server" Text="培训状态："></asp:Label>
                    </td>
                    <td align="left" valign="middle" colspan="3">
                         
                        <asp:Label ID="lbl_T_TRAINING_STATUS" runat="server"></asp:Label>
                    </td>                 
      </tr>
     <tr>  
     </table>
     </fieldset>
     </div>
 
      <div style="height:15px"></div>
        <div class="nstkaah" align="center" style="width:90%">   
        <asp:Button runat="server" Text="保存" CssClass="seaal" ID="queding" ToolTip="保存"  Visible="false"
                                         OnClientClick="return  tomodifySave();"   OnClick="queding_Click" />
                                         <asp:Button runat="server" Text="返回" CssClass="seaal" ID="Button3" ToolTip="返回" OnClick="cmdCancel_Click" />
              </div>
              
	<!--jjjjjjjjjjjjjjjjjjjj页脚部分jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj-->
	<div id="footer"></div>
	
	<script language='javascript' type="text/javascript">
	   // SetCalendar('txt_START_DATE');
	    //SetCalendar('txt_END_DATE');
    </script>
   </form>
    
</body>
</html>
